package com.wcs.spring.entity;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.wcs.spring.util.CustomDateSerializer;
import com.wcs.spring.util.CustomDateSerializerHm;
import com.wcs.spring.util.CustomDateSerializerYd;

public class ClassTable {
	private Integer id;

	private Integer schoolId;

	private String levelType;

	private String classLevel;

	private String classAddr;

	private Integer classTeacherId;

	private Integer classInfoId;

	private Integer studentNum;

	private String studentNames;

	private String studentName;

	private Integer orderStatus;

	private String classTeacherName;

	private String classInfoName;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date classDate;

	@DateTimeFormat(pattern = "HH:mm")
	private Date classStartTime;

	@DateTimeFormat(pattern = "HH:mm")
	private Date classEndTime;

	private Date createTime;

	private Date updateTime;

	private String createUser;

	private String updateUser;

	private Integer flag;

	private Integer orderClassNum;

	private Integer isOrder;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public String getLevelType() {
		return levelType;
	}

	public void setLevelType(String levelType) {
		this.levelType = levelType;
	}

	public String getClassLevel() {
		return classLevel;
	}

	public void setClassLevel(String classLevel) {
		this.classLevel = classLevel;
	}

	public String getClassAddr() {
		return classAddr;
	}

	public void setClassAddr(String classAddr) {
		this.classAddr = classAddr;
	}

	public Integer getClassTeacherId() {
		return classTeacherId;
	}

	public void setClassTeacherId(Integer classTeacherId) {
		this.classTeacherId = classTeacherId;
	}

	public Integer getClassInfoId() {
		return classInfoId;
	}

	public void setClassInfoId(Integer classInfoId) {
		this.classInfoId = classInfoId;
	}

	public Integer getStudentNum() {
		return studentNum;
	}

	public void setStudentNum(Integer studentNum) {
		this.studentNum = studentNum;
	}

	public String getClassTeacherName() {
		return classTeacherName;
	}

	public void setClassTeacherName(String classTeacherName) {
		this.classTeacherName = classTeacherName;
	}

	public String getClassInfoName() {
		return classInfoName;
	}

	public void setClassInfoName(String classInfoName) {
		this.classInfoName = classInfoName;
	}

	@JsonSerialize(using = CustomDateSerializerYd.class)
	public Date getClassDate() {
		return classDate;
	}

	public void setClassDate(Date classDate) {
		this.classDate = classDate;
	}

	@JsonSerialize(using = CustomDateSerializerHm.class)
	public Date getClassStartTime() {
		return classStartTime;
	}

	public void setClassStartTime(Date classStartTime) {
		this.classStartTime = classStartTime;
	}

	@JsonSerialize(using = CustomDateSerializerHm.class)
	public Date getClassEndTime() {
		return classEndTime;
	}

	public void setClassEndTime(Date classEndTime) {
		this.classEndTime = classEndTime;
	}

	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Integer getOrderClassNum() {
		return orderClassNum;
	}

	public void setOrderClassNum(Integer orderClassNum) {
		this.orderClassNum = orderClassNum;
	}

	public Integer getIsOrder() {
		return isOrder;
	}

	public void setIsOrder(Integer isOrder) {
		this.isOrder = isOrder;
	}

	public String getStudentNames() {
		return studentNames;
	}

	public void setStudentNames(String studentNames) {
		this.studentNames = studentNames;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

}
